﻿using Newtonsoft.Json;
using System.Collections.Generic;

namespace NlpApp.Model.RexUninlu
{
    /// <summary>
    /// 魔塔数据类型
    /// </summary>
    public class RexUninluModel
    {
        /// <summary>
        /// 
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 司马义·艾买提会见日本客人新华社北京5月4日电国务委员司马义·艾买提今天在人民大会堂会见了由众议院议员船田元率领的日本自民党年轻国会议员代表团，宾主就进一步推动中日友好，加强两国年轻一代、特别是青年政治家之间的友好交往进行了交谈。
        /// </summary>
        public string text { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<List<RexUninluInfolistItem>> info_list { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public dynamic schema { get; set; }
    }
    /// <summary>
    /// info
    /// </summary>
    public class RexUninluInfolistItem
    {
        /// <summary>
        /// 人物
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 司马义·艾买提
        /// </summary>
        public string span { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<int> offset { get; set; }
    }
    /// <summary>
    /// info
    /// </summary>
    public class RexUninluInfolistItemResult
    {
        /// <summary>
        /// 人物
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 司马义·艾买提
        /// </summary>
        public string span { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<int> offset { get; set; }
        [JsonIgnore]
        public double probability { get; set; }
        [JsonIgnore]
        public string name { get; set; }
        public int? line { get; set; }
        /// <summary>
        /// Gets or sets the relations.关联关系数据
        /// </summary>
        /// <value>
        /// The relations.
        /// </value>
        public List<RexUninluInfolistItemResult> relations { get; set; }
        public string sourcecontent { get; set; }
    }
}
